<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>首页布局实战-卡片</title>
  <style>
    .m-card-header{
      display: flex;
      justify-content: space-between;
      background-color: #3778bc;
    }
    .m-card-title{
      height: 40px;
      background-color: #3778bc;
      color: #ffffff;
      font-size: 14px;
      padding-left: 18px;
      padding-right: 18px;
      display: flex;
      align-items: center;
    }
    .m-card-more{
      height: 40px;
      color: #ffffff;
      font-size: 12px;
      padding-left: 18px;
      padding-right: 18px;
      display: flex;
      align-items: center;
    }
    .m-card-body{
      border: 1px solid #cccccc;
    }
  </style>
</head>
<body>
  <div class="m-card">
    <div class="m-card-header">
      <div class="m-card-title">我是标题</div>
      <div class="m-card-more">更多</div>
    </div>
    <div class="m-card-body" style="margin-top:12px;">
      <ul>
        <li>我是文章标题1</li>
        <li>我是文章标题2</li>
        <li>我是文章标题3</li>
        <li>我是文章标题4</li>
        <li>我是文章标题5</li>
        <li>我是文章标题6</li>
        <li>我是文章标题7</li>
      </ul>
    </div>
  </div>
  <div class="m-card">
    <div class="m-card-header" style="background-color: #cccccc;">
      <div class="m-card-title">我是标题</div>
      <div class="m-card-more" style="color: #666666;">more>></div>
    </div>
    <div class="m-card-body">
      <ul>
        <li>我是文章标题1</li>
        <li>我是文章标题2</li>
        <li>我是文章标题3</li>
        <li>我是文章标题4</li>
        <li>我是文章标题5</li>
        <li>我是文章标题6</li>
        <li>我是文章标题7</li>
      </ul>
    </div>
  </div>
</body>
</html>